package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业股东及出资信息
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shareholderlist")
@ApiModel(value="ShareholderlistEntity对象", description="企业股东及出资信息")
public class ShareholderlistEntity extends Model<ShareholderlistEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业名称")
    @TableField("enterpriseName")
    private String enterprisename;

    @ApiModelProperty(value = "统一信用代码")
    private String creditcode;

    @ApiModelProperty(value = "股东名称")
    @TableField("shareholderName")
    private String shareholdername;

    @ApiModelProperty(value = "股东类型")
    @TableField("shareholderType")
    private String shareholdertype;

    @ApiModelProperty(value = "股东证件类型")
    @TableField("blicType")
    private String blictype;

    @ApiModelProperty(value = "股东证件号码")
    @TableField("blicNo")
    private String blicno;

    @ApiModelProperty(value = "认缴出资额(万元)")
    @TableField("subConAm")
    private String subconam;

    @ApiModelProperty(value = "认缴出资币种")
    @TableField("subConCur")
    private String subconcur;

    @ApiModelProperty(value = "认缴出资方式")
    @TableField("subConForm")
    private String subconform;

    @ApiModelProperty(value = "出资比例")
    @TableField("fundedRatio")
    private String fundedratio;

    @ApiModelProperty(value = "认缴出资日期")
    @TableField("subConDate")
    private String subcondate;

    @ApiModelProperty(value = "股东总数量")
    @TableField("shareholderAmount")
    private String shareholderamount;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
